package com.waymap.service.impl;

import com.github.pagehelper.PageHelper;
import com.waymap.domain.NSOperateData;
import com.waymap.mapper.NSOperateDataMapper;
import com.waymap.service.NSOperateDataService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class NSOperateDataServiceImpl implements NSOperateDataService {
	@Resource
	private NSOperateDataMapper nsOperateDataMapper;

	@Override
	public List<NSOperateData> searchItemOperateData(Map<String, Object> param) {
		PageHelper.startPage((Integer) param.get("pageNum"), (Integer) param.get("pageSize"));
		List<NSOperateData> nsOperateData = nsOperateDataMapper.searchItemOperateData(param);
		return  nsOperateData;
	}
}
